Optimal. Leaf size=45 \[ -\frac{\cos (e+f x) (c-c \sin (e+f x))^{5/2}}{3 c f \sqrt{a \sin (e+f x)+a}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.309111, antiderivative size = 45, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 38, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.053, Rules used = {2841, 2738} \[ -\frac{\cos (e+f x) (c-c \sin (e+f x))^{5/2}}{3 c f \sqrt{a \sin (e+f x)+a}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2841
Rule 2738
Rubi steps
\begin{align*} \int \frac{\cos ^2(e+f x) (c-c \sin (e+f x))^{3/2}}{\sqrt{a+a \sin (e+f x)}} \, dx &=\frac{\int \sqrt{a+a \sin (e+f x)} (c-c \sin (e+f x))^{5/2} \, dx}{a c}\\ &=-\frac{\cos (e+f x) (c-c \sin (e+f x))^{5/2}}{3 c f \sqrt{a+a \sin (e+f x)}}\\ \end{align*}
Mathematica [B] time = 0.519238, size = 120, normalized size = 2.67 \[ -\frac{c (\sin (e+f x)-1) \sqrt{c-c \sin (e+f x)} \left (\sin \left (\frac{1}{2} (e+f x)\right )+\cos \left (\frac{1}{2} (e+f x)\right )\right ) (15 \sin (e+f x)-\sin (3 (e+f x))+6 \cos (2 (e+f x)))}{12 f \sqrt{a (\sin (e+f x)+1)} \left (\cos \left (\frac{1}{2} (e+f x)\right )-\sin \left (\frac{1}{2} (e+f x)\right )\right )^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.219, size = 141, normalized size = 3.1 \begin{align*}{\frac{ \left ( \left ( \cos \left ( fx+e \right ) \right ) ^{3}- \left ( \cos \left ( fx+e \right ) \right ) ^{2}\sin \left ( fx+e \right ) +2\, \left ( \cos \left ( fx+e \right ) \right ) ^{2}+3\,\sin \left ( fx+e \right ) \cos \left ( fx+e \right ) -4\,\cos \left ( fx+e \right ) +\sin \left ( fx+e \right ) +1 \right ) \sin \left ( fx+e \right ) }{3\,f \left ( \left ( \cos \left ( fx+e \right ) \right ) ^{2}-\sin \left ( fx+e \right ) \cos \left ( fx+e \right ) +\cos \left ( fx+e \right ) +2\,\sin \left ( fx+e \right ) -2 \right ) } \left ( -c \left ( -1+\sin \left ( fx+e \right ) \right ) \right ) ^{{\frac{3}{2}}}{\frac{1}{\sqrt{a \left ( 1+\sin \left ( fx+e \right ) \right ) }}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac{3}{2}} \cos \left (f x + e\right )^{2}}{\sqrt{a \sin \left (f x + e\right ) + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.66322, size = 192, normalized size = 4.27 \begin{align*} \frac{{\left (3 \, c \cos \left (f x + e\right )^{2} -{\left (c \cos \left (f x + e\right )^{2} - 4 \, c\right )} \sin \left (f x + e\right ) - 3 \, c\right )} \sqrt{a \sin \left (f x + e\right ) + a} \sqrt{-c \sin \left (f x + e\right ) + c}}{3 \, a f \cos \left (f x + e\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac{3}{2}} \cos \left (f x + e\right )^{2}}{\sqrt{a \sin \left (f x + e\right ) + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]